package com.skivingcloud.admin.sys.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 系统日志
 * </p>
 *
 * @author skivingcloud
 * @since 2022-01-28
 */
@TableName("sys_log")
@ApiModel(value = "SysLog对象", description = "系统日志")
public class SysLog implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("用户ID")
    private String userId;

    @ApiModelProperty("用户操作模块")
    private String module;

    @ApiModelProperty("请求方法")
    private String methods;

    @ApiModelProperty("执行时长(毫秒)")
    private String actionTime;

    @ApiModelProperty("IP地址")
    private String userIp;

    @ApiModelProperty("操作时间")
    private LocalDateTime operTime;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("业务id")
    private String bussid;

    @ApiModelProperty("客户端类型：1-PC端、2-手机、3-平板、4-其他设备")
    private String clientType;

    @ApiModelProperty("移动端唯一标识")
    private String mobileUuid;

    @ApiModelProperty("功能编号")
    private String functionNo;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getModule() {
        return module;
    }

    public void setModule(String module) {
        this.module = module;
    }
    public String getMethods() {
        return methods;
    }

    public void setMethods(String methods) {
        this.methods = methods;
    }
    public String getActionTime() {
        return actionTime;
    }

    public void setActionTime(String actionTime) {
        this.actionTime = actionTime;
    }
    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }
    public LocalDateTime getOperTime() {
        return operTime;
    }

    public void setOperTime(LocalDateTime operTime) {
        this.operTime = operTime;
    }
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }
    public String getBussid() {
        return bussid;
    }

    public void setBussid(String bussid) {
        this.bussid = bussid;
    }
    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }
    public String getMobileUuid() {
        return mobileUuid;
    }

    public void setMobileUuid(String mobileUuid) {
        this.mobileUuid = mobileUuid;
    }
    public String getFunctionNo() {
        return functionNo;
    }

    public void setFunctionNo(String functionNo) {
        this.functionNo = functionNo;
    }

    @Override
    public String toString() {
        return "SysLog{" +
            "id=" + id +
            ", userId=" + userId +
            ", module=" + module +
            ", methods=" + methods +
            ", actionTime=" + actionTime +
            ", userIp=" + userIp +
            ", operTime=" + operTime +
            ", description=" + description +
            ", bussid=" + bussid +
            ", clientType=" + clientType +
            ", mobileUuid=" + mobileUuid +
            ", functionNo=" + functionNo +
        "}";
    }
}
